<?php
$tlabelReq = 'C2IPRAT';
$msgList   = array();
$gidReset  = true;

if ( isset($_REQUEST['cmd']) ) $cmd = $_REQUEST['cmd'];
else                           $cmd = null;

/**
 *  CLAROLINE MAIN SETTINGS
 */

require_once 'lib/C2IPRAT.lib.php';
include_once get_path('incRepositorySys').'/lib/user.lib.php';

add_module_lang_array($tlabelReq);

//if ( ! get_init('in_course_context') || ! get_init('is_courseAllowed') || !get_init('is_authenticated') ) claro_disp_auth_form(true);
//claro_set_display_mode_available(TRUE);


$is_allowedToEdit  = claro_is_allowed_to_edit();

if (!$user_infos['lastname'])
{
	echo "Etudiant(e) inconnu.<br><a href='grille.php'>Cliquez ici pour revenir</a>";
	exit;
}

$titleElement['mainTitle'] = 'Comp&eacute;tences pratiques de '.$user_infos['lastname'].' '.$user_infos['firstname'];



echo afficherGrilleCompetences($proprietaire,$groupeId);
?>
